home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / DiceSource / lib / float / dpa_abs.a < prev    next >
Encoding:
Text File  |  1994-02-01  |  343 b   |  24 lines

  1.  
  2.         ;   DABS.A
  3.         ;
  4.         ;   D0/D1 = fabs(D0/D1)
  5.         ;        4(sp)
  6.         ;
  7.         ;   (c)Copyright 1990, Matthew Dillon, All Rights Reserved
  8.  
  9.         section text,code
  10.  
  11.         xref    _MathIeeeDoubBasBase
  12.         xref    _LVOIEEEDPAbs
  13.         xdef    _fabs
  14.  
  15. _fabs        movem.l 4(sp),D0/D1
  16.         move.l    A6,-(sp)
  17.         move.l    _MathIeeeDoubBasBase(A4),A6
  18.         jsr    _LVOIEEEDPAbs(A6)
  19.         move.l    (sp)+,A6
  20.         rts
  21.  
  22.         END
  23.  
  24.